<%@page import="myJDBC.*"%>
<%@page import="myJDBC.lowLevel.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
<%@include file="smallJsps/styles.jsp" %>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="smallJsps/bootstrapInclude.jsp" %>
</head>
<body>
<%@include file="smallJsps/logoutButton.jsp" %>
<div class="row-fluid">
		<div class="span6 offset2">
	<form action="showObjects2" name="form" method="GET">
		<select name="selObjType">
			<%
				int objTypeId = -1;
				ArrayList<String> listWithObjecttypes = new ArrayList<String>();
				listWithObjecttypes = ObjectTypes.returnObjectTypes();
				for (int i = 0; i < listWithObjecttypes.size(); i = i + 3) {
					out.print("<option ");
					if (Integer.parseInt(listWithObjecttypes.get(i)) == objTypeId)
						out.print("selected");
					out.println(" value=" + listWithObjecttypes.get(i) + ">"
							+ listWithObjecttypes.get(i + 1) + " || par="
							+ listWithObjecttypes.get(i + 2) + "</option>");
				}
			%>
		</select><br> <input class="btn btn-large btn-primary" type="submit" value="Show">
	</form>
	<form method="get" action="privateOffice"><button class="btn" type="submit">privateOffice</button></form>
	</div>
	</div>
</body>
</html>